package com.tjetc.service;

import com.tjetc.entity.OrderDetail;

import java.math.BigDecimal;
import java.util.List;

/***
 * 订单详情部分接口
 */
public interface OrderDetailService {
    //根据订单id查询订单详细信息
    List<OrderDetail> selectByOrderId(int orderId);
    //添加订单详细信息
    int addOrderDetail(OrderDetail orderDetail);
    BigDecimal computed(List<OrderDetail> list);
}
